package com.kitty.web.domain;



import com.kitty.web.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * NPC配置对象 p_npc
 * 
 * @author soul
 * @date 2022-03-10
 */
public class PNpc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** npc名称 */

    private String name;

    /** 坐标X */

    private Long x;

    /** 坐标Y */

    private Long y;

    /** 朝向 */

    private Long fangxiang;

    /** 地图id */

    private Long mapid;

    /** 对话 */

    private String content;

    /** 外观 */

    private Long icon;

    /** 物品 */

    private String list;

    /** 对话2 */

    private String content1;

    /** npc类型 */

    private Integer type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setX(Long x) 
    {
        this.x = x;
    }

    public Long getX() 
    {
        return x;
    }
    public void setY(Long y) 
    {
        this.y = y;
    }

    public Long getY() 
    {
        return y;
    }
    public void setFangxiang(Long fangxiang) 
    {
        this.fangxiang = fangxiang;
    }

    public Long getFangxiang() 
    {
        return fangxiang;
    }
    public void setMapid(Long mapid) 
    {
        this.mapid = mapid;
    }

    public Long getMapid() 
    {
        return mapid;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setIcon(Long icon) 
    {
        this.icon = icon;
    }

    public Long getIcon() 
    {
        return icon;
    }
    public void setList(String list) 
    {
        this.list = list;
    }

    public String getList() 
    {
        return list;
    }
    public void setContent1(String content1) 
    {
        this.content1 = content1;
    }

    public String getContent1() 
    {
        return content1;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("x", getX())
            .append("y", getY())
            .append("fangxiang", getFangxiang())
            .append("mapid", getMapid())
            .append("content", getContent())
            .append("icon", getIcon())
            .append("list", getList())
            .append("content1", getContent1())
            .append("type", getType())
            .toString();
    }
}
